package com.lfnyxy.dao;

import com.lfnyxy.entity.ConfigurationEntity;
import com.lfnyxy.query.ConfigurationQuery;

import java.util.List;

;

/**
 * Created by ted on 17/5/8.
 */
public interface ConfigurationDao {
    int CreateItem(ConfigurationEntity entity);

    int UpdateItem(ConfigurationEntity entity);

    List <ConfigurationEntity> QueryPageList(ConfigurationQuery query);

    List <ConfigurationEntity> QueryAll();

    int QueryPageListCount(ConfigurationQuery query);

    int CheckIsExist(ConfigurationEntity entity);

    ConfigurationEntity QueryItem(int Id);

    ConfigurationEntity QueryItemByKey(String key);

    int DeleteItem(int Id);
}